Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js feat: Support attachments in traceable #1169

Merged
merged 13 commits into from
Nov 6, 2024
Merged

Conversation

hinthornw
Copy link
Collaborator

Also add warning & handling of invalid attachments.

Proposed API:

getAttachments(args) => [attachments, otherArgs];

Returning the filtered args means that you're less likely to accidentally double-log attachments in inputs.

Also add warning & handling of invalid attachments.

Proposed API:

getAttachments(args) => [attachments, otherArgs];

Returning the filtered args means that you're less likely to accidentally
double-log attachments in inputs.
@hinthornw hinthornw requested review from dqbd and agola11 November 4, 2024 22:47
js/src/schemas.ts Outdated Show resolved Hide resolved
js/src/traceable.ts Outdated Show resolved Hide resolved
@hinthornw hinthornw merged commit f23a832 into main Nov 6, 2024
16 of 17 checks passed
@hinthornw hinthornw deleted the wfh/attachments_js branch November 6, 2024 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants